
package perceptronvocales.Model;

import java.io.IOException;
import java.util.Calendar;
import java.util.GregorianCalendar;
import javax.swing.JOptionPane;
import perceptronvocales.GUI.GUI;

/**
 *
 * @author PRETXEL-H
 * @author imarban
 */
public class Const {
    public static final int ROW_COUNT = 6;
    public static final int W = 50;
    public static final int H = W;
    public static int epoch = 1000;
    public static final int TotalAbecedario = 26;
    public static String CLASSNAME = Const.class.getName();
    public static final float entradas[][] = new float[ROW_COUNT*ROW_COUNT][TotalAbecedario];
    public static final float target[][] = new float[TotalAbecedario][TotalAbecedario];
    public static final float prueba[][] = new float[Const.ROW_COUNT*Const.ROW_COUNT][1];
    public static final StringBuilder LogTexto = new StringBuilder();
    private static Calendar calendario;
    public static final char vocales[] = {'a','e','i','o','u'};
    public static final char abecedario[] = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
    public static final float pesosFijo[][]= new float[Const.TotalAbecedario][Const.ROW_COUNT*Const.ROW_COUNT];
    public static final float umbralFijo[][]= new float[Const.TotalAbecedario][1];
    public static final short patrones_Test = 40;
    static Propiedades p = new Propiedades("ArchivosConf\\maxSet.properties");
    
    public static String LogDate(){
        StringBuilder b = new StringBuilder();
        calendario = new GregorianCalendar();
        int hora =calendario.get(Calendar.HOUR_OF_DAY);
        int minutos = calendario.get(Calendar.MINUTE);
        int segundos = calendario.get(Calendar.SECOND);
        b.append("[").append(hora).append(":").append(minutos).append(":").append(segundos).append("]");
        return b.toString();
    }
    
    public static void Log(String na){
        GUI.txtLogger.setText(na);
        GUI.txtLogger.append(na);
    }
    
    
    
    
    
    public static void definirEntradas(){
    
        LogTexto.append(LogDate()).append(" ").append(CLASSNAME).append(" - Definir Letras Abecedario\n");
        GUI.txtLogger.append(Const.LogTexto.toString());
        Const.LogTexto.setLength(0);
        
        //LETRA A
        entradas[0][0] = 0;
        entradas[1][0] = 0;
        entradas[2][0] = 1;
        entradas[3][0] = 1;
        entradas[4][0] = 0;
        entradas[5][0] = 0;
        entradas[6][0] = 0;
        entradas[7][0] = 0;
        entradas[8][0] = 1;
        entradas[9][0] = 1;
        entradas[10][0] = 0;
        entradas[11][0] = 0;
        entradas[12][0] = 0;
        entradas[13][0] = 1;
        entradas[14][0] = 0;
        entradas[15][0] = 0;
        entradas[16][0] = 1;
        entradas[17][0] = 0;
        entradas[18][0] = 0;
        entradas[19][0] = 1;
        entradas[20][0] = 1;
        entradas[21][0] = 1;
        entradas[22][0] = 1;
        entradas[23][0] = 0;
        entradas[24][0] = 1;
        entradas[25][0] = 1;
        entradas[26][0] = 0;
        entradas[27][0] = 0;
        entradas[28][0] = 1;
        entradas[29][0] = 1;
        entradas[30][0] = 1;
        entradas[31][0] = 0;
        entradas[32][0] = 0;
        entradas[33][0] = 0;
        entradas[34][0] = 0;
        entradas[35][0] = 1;
        
        //LETRA B
        entradas[0][1] = 1;
        entradas[1][1] = 1;
        entradas[2][1] = 1;
        entradas[3][1] = 1;
        entradas[4][1] = 0;
        entradas[5][1] = 0;
        entradas[6][1] = 1;
        entradas[7][1] = 0;
        entradas[8][1] = 0;
        entradas[9][1] = 0;
        entradas[10][1] = 1;
        entradas[11][1] = 0;
        entradas[12][1] = 1;
        entradas[13][1] = 1;
        entradas[14][1] = 1;
        entradas[15][1] = 1;
        entradas[16][1] = 0;
        entradas[17][1] = 0;
        entradas[18][1] = 1;
        entradas[19][1] = 0;
        entradas[20][1] = 0;
        entradas[21][1] = 0;
        entradas[22][1] = 1;
        entradas[23][1] = 0;
        entradas[24][1] = 1;
        entradas[25][1] = 0;
        entradas[26][1] = 0;
        entradas[27][1] = 0;
        entradas[28][1] = 1;
        entradas[29][1] = 0;
        entradas[30][1] = 1;
        entradas[31][1] = 1;
        entradas[32][1] = 1;
        entradas[33][1] = 1;
        entradas[34][1] = 0;
        entradas[35][1] = 0;
       
        //LETRA C
        entradas[0][2] = 0;
        entradas[1][2] = 1;
        entradas[2][2] = 1;
        entradas[3][2] = 1;
        entradas[4][2] = 1;
        entradas[5][2] = 0;
        entradas[6][2] = 1;
        entradas[7][2] = 0;
        entradas[8][2] = 0;
        entradas[9][2] = 0;
        entradas[10][2] = 0;
        entradas[11][2] = 0;
        entradas[12][2] = 1;
        entradas[13][2] = 0;
        entradas[14][2] = 0;
        entradas[15][2] = 0;
        entradas[16][2] = 0;
        entradas[17][2] = 0;
        entradas[18][2] = 1;
        entradas[19][2] = 0;
        entradas[20][2] = 0;
        entradas[21][2] = 0;
        entradas[22][2] = 0;
        entradas[23][2] = 0;
        entradas[24][2] = 1;
        entradas[25][2] = 0;
        entradas[26][2] = 0;
        entradas[27][2] = 0;
        entradas[28][2] = 0;
        entradas[29][2] = 0;
        entradas[30][2] = 0;
        entradas[31][2] = 1;
        entradas[32][2] = 1;
        entradas[33][2] = 1;
        entradas[34][2] = 1;
        entradas[35][2] = 0;
        
        //LETRA C
        entradas[0][2] = 0;
        entradas[1][2] = 1;
        entradas[2][2] = 1;
        entradas[3][2] = 1;
        entradas[4][2] = 1;
        entradas[5][2] = 0;
        entradas[6][2] = 1;
        entradas[7][2] = 0;
        entradas[8][2] = 0;
        entradas[9][2] = 0;
        entradas[10][2] = 0;
        entradas[11][2] = 0;
        entradas[12][2] = 1;
        entradas[13][2] = 0;
        entradas[14][2] = 0;
        entradas[15][2] = 0;
        entradas[16][2] = 0;
        entradas[17][2] = 0;
        entradas[18][2] = 1;
        entradas[19][2] = 0;
        entradas[20][2] = 0;
        entradas[21][2] = 0;
        entradas[22][2] = 0;
        entradas[23][2] = 0;
        entradas[24][2] = 1;
        entradas[25][2] = 0;
        entradas[26][2] = 0;
        entradas[27][2] = 0;
        entradas[28][2] = 0;
        entradas[29][2] = 0;
        entradas[30][2] = 0;
        entradas[31][2] = 1;
        entradas[32][2] = 1;
        entradas[33][2] = 1;
        entradas[34][2] = 1;
        entradas[35][2] = 0;
        
        //LETRA D
        entradas[0][3] = 1;
        entradas[1][3] = 1;
        entradas[2][3] = 1;
        entradas[3][3] = 1;
        entradas[4][3] = 0;
        entradas[5][3] = 0;
        entradas[6][3] = 1;
        entradas[7][3] = 0;
        entradas[8][3] = 0;
        entradas[9][3] = 0;
        entradas[10][3] = 1;
        entradas[11][3] = 0;
        entradas[12][3] = 1;
        entradas[13][3] = 0;
        entradas[14][3] = 0;
        entradas[15][3] = 0;
        entradas[16][3] = 1;
        entradas[17][3] = 0;
        entradas[18][3] = 1;
        entradas[19][3] = 0;
        entradas[20][3] = 0;
        entradas[21][3] = 0;
        entradas[22][3] = 1;
        entradas[23][3] = 0;
        entradas[24][3] = 1;
        entradas[25][3] = 0;
        entradas[26][3] = 0;
        entradas[27][3] = 0;
        entradas[28][3] = 1;
        entradas[29][3] = 0;
        entradas[30][3] = 1;
        entradas[31][3] = 1;
        entradas[32][3] = 1;
        entradas[33][3] = 1;
        entradas[34][3] = 0;
        entradas[35][3] = 0;
        
        //LETRA E
        entradas[0][4] = 0;
        entradas[1][4] = 1;
        entradas[2][4] = 1;
        entradas[3][4] = 1;
        entradas[4][4] = 1;
        entradas[5][4] = 1;
        entradas[6][4] = 1;
        entradas[7][4] = 0;
        entradas[8][4] = 0;
        entradas[9][4] = 0;
        entradas[10][4] = 0;
        entradas[11][4] = 0;
        entradas[12][4] = 1;
        entradas[13][4] = 1;
        entradas[14][4] = 1;
        entradas[15][4] = 1;
        entradas[16][4] = 0;
        entradas[17][4] = 0;
        entradas[18][4] = 1;
        entradas[19][4] = 0;
        entradas[20][4] = 0;
        entradas[21][4] = 0;
        entradas[22][4] = 0;
        entradas[23][4] = 0;
        entradas[24][4] = 1;
        entradas[25][4] = 0;
        entradas[26][4] = 0;
        entradas[27][4] = 0;
        entradas[28][4] = 0;
        entradas[29][4] = 0;
        entradas[30][4] = 0;
        entradas[31][4] = 1;
        entradas[32][4] = 1;
        entradas[33][4] = 1;
        entradas[34][4] = 1;
        entradas[35][4] = 1;
        
        //LETRA F
        entradas[0][5] = 0;
        entradas[1][5] = 1;
        entradas[2][5] = 1;
        entradas[3][5] = 1;
        entradas[4][5] = 1;
        entradas[5][5] = 1;
        entradas[6][5] = 1;
        entradas[7][5] = 0;
        entradas[8][5] = 0;
        entradas[9][5] = 0;
        entradas[10][5] = 0;
        entradas[11][5] = 0;
        entradas[12][5] = 1;
        entradas[13][5] = 1;
        entradas[14][5] = 1;
        entradas[15][5] = 1;
        entradas[16][5] = 0;
        entradas[17][5] = 0;
        entradas[18][5] = 1;
        entradas[19][5] = 0;
        entradas[20][5] = 0;
        entradas[21][5] = 0;
        entradas[22][5] = 0;
        entradas[23][5] = 0;
        entradas[24][5] = 1;
        entradas[25][5] = 0;
        entradas[26][5] = 0;
        entradas[27][5] = 0;
        entradas[28][5] = 0;
        entradas[29][5] = 0;
        entradas[30][5] = 1;
        entradas[31][5] = 0;
        entradas[32][5] = 0;
        entradas[33][5] = 0;
        entradas[34][5] = 0;
        entradas[35][5] = 0;
        
        //LETRA G
        entradas[0][6] = 0;
        entradas[1][6] = 1;
        entradas[2][6] = 1;
        entradas[3][6] = 1;
        entradas[4][6] = 1;
        entradas[5][6] = 1;
        entradas[6][6] = 1;
        entradas[7][6] = 0;
        entradas[8][6] = 0;
        entradas[9][6] = 0;
        entradas[10][6] = 0;
        entradas[11][6] = 0;
        entradas[12][6] = 1;
        entradas[13][6] = 0;
        entradas[14][6] = 1;
        entradas[15][6] = 1;
        entradas[16][6] = 1;
        entradas[17][6] = 0;
        entradas[18][6] = 1;
        entradas[19][6] = 0;
        entradas[20][6] = 0;
        entradas[21][6] = 0;
        entradas[22][6] = 0;
        entradas[23][6] = 1;
        entradas[24][6] = 1;
        entradas[25][6] = 0;
        entradas[26][6] = 0;
        entradas[27][6] = 0;
        entradas[28][6] = 0;
        entradas[29][6] = 1;
        entradas[30][6] = 0;
        entradas[31][6] = 1;
        entradas[32][6] = 1;
        entradas[33][6] = 1;
        entradas[34][6] = 1;
        entradas[35][6] = 0;
        
        //LETRA H
        entradas[0][7] = 1;
        entradas[1][7] = 0;
        entradas[2][7] = 0;
        entradas[3][7] = 0;
        entradas[4][7] = 0;
        entradas[5][7] = 1;
        entradas[6][7] = 1;
        entradas[7][7] = 0;
        entradas[8][7] = 0;
        entradas[9][7] = 0;
        entradas[10][7] = 0;
        entradas[11][7] = 1;
        entradas[12][7] = 1;
        entradas[13][7] = 1;
        entradas[14][7] = 1;
        entradas[15][7] = 1;
        entradas[16][7] = 1;
        entradas[17][7] = 1;
        entradas[18][7] = 1;
        entradas[19][7] = 0;
        entradas[20][7] = 0;
        entradas[21][7] = 0;
        entradas[22][7] = 0;
        entradas[23][7] = 1;
        entradas[24][7] = 1;
        entradas[25][7] = 0;
        entradas[26][7] = 0;
        entradas[27][7] = 0;
        entradas[28][7] = 0;
        entradas[29][7] = 1;
        entradas[30][7] = 1;
        entradas[31][7] = 0;
        entradas[32][7] = 0;
        entradas[33][7] = 0;
        entradas[34][7] = 0;
        entradas[35][7] = 1;
        
        //LETRA I
        entradas[0][8] = 0;
        entradas[1][8] = 1;
        entradas[2][8] = 1;
        entradas[3][8] = 1;
        entradas[4][8] = 1;
        entradas[5][8] = 0;
        entradas[6][8] = 0;
        entradas[7][8] = 0;
        entradas[8][8] = 1;
        entradas[9][8] = 1;
        entradas[10][8] = 0;
        entradas[11][8] = 0;
        entradas[12][8] = 0;
        entradas[13][8] = 0;
        entradas[14][8] = 1;
        entradas[15][8] = 1;
        entradas[16][8] = 0;
        entradas[17][8] = 0;
        entradas[18][8] = 0;
        entradas[19][8] = 0;
        entradas[20][8] = 1;
        entradas[21][8] = 1;
        entradas[22][8] = 0;
        entradas[23][8] = 0;
        entradas[24][8] = 0;
        entradas[25][8] = 0;
        entradas[26][8] = 1;
        entradas[27][8] = 1;
        entradas[28][8] = 0;
        entradas[29][8] = 0;
        entradas[30][8] = 0;
        entradas[31][8] = 1;
        entradas[32][8] = 1;
        entradas[33][8] = 1;
        entradas[34][8] = 1;
        entradas[35][8] = 0;
        
         //LETRA J
        entradas[0][9] = 0;
        entradas[1][9] = 1;
        entradas[2][9] = 1;
        entradas[3][9] = 1;
        entradas[4][9] = 1;
        entradas[5][9] = 0;
        entradas[6][9] = 0;
        entradas[7][9] = 0;
        entradas[8][9] = 1;
        entradas[9][9] = 1;
        entradas[10][9] = 0;
        entradas[11][9] = 0;
        entradas[12][9] = 0;
        entradas[13][9] = 0;
        entradas[14][9] = 1;
        entradas[15][9] = 1;
        entradas[16][9] = 0;
        entradas[17][9] = 0;
        entradas[18][9] = 0;
        entradas[19][9] = 0;
        entradas[20][9] = 1;
        entradas[21][9] = 1;
        entradas[22][9] = 0;
        entradas[23][9] = 0;
        entradas[24][9] = 1;
        entradas[25][9] = 0;
        entradas[26][9] = 1;
        entradas[27][9] = 1;
        entradas[28][9] = 0;
        entradas[29][9] = 0;
        entradas[30][9] = 1;
        entradas[31][9] = 1;
        entradas[32][9] = 1;
        entradas[33][9] = 1;
        entradas[34][9] = 1;
        entradas[35][9] = 0;
        
        //LETRA J
        entradas[0][10] = 1;
        entradas[1][10] = 1;
        entradas[2][10] = 0;
        entradas[3][10] = 0;
        entradas[4][10] = 1;
        entradas[5][10] = 1;
        entradas[6][10] = 1;
        entradas[7][10] = 1;
        entradas[8][10] = 0;
        entradas[9][10] = 1;
        entradas[10][10] = 1;
        entradas[11][10] = 0;
        entradas[12][10] = 1;
        entradas[13][10] = 1;
        entradas[14][10] = 1;
        entradas[15][10] = 1;
        entradas[16][10] = 0;
        entradas[17][10] = 0;
        entradas[18][10] = 1;
        entradas[19][10] = 1;
        entradas[20][10] = 1;
        entradas[21][10] = 1;
        entradas[22][10] = 0;
        entradas[23][10] = 0;
        entradas[24][10] = 1;
        entradas[25][10] = 1;
        entradas[26][10] = 0;
        entradas[27][10] = 1;
        entradas[28][10] = 1;
        entradas[29][10] = 0;
        entradas[30][10] = 1;
        entradas[31][10] = 1;
        entradas[32][10] = 0;
        entradas[33][10] = 0;
        entradas[34][10] = 1;
        entradas[35][10] = 1;
        
        
        //LETRA L
        entradas[0][11] = 1;
        entradas[1][11] = 1;
        entradas[2][11] = 0;
        entradas[3][11] = 0;
        entradas[4][11] = 0;
        entradas[5][11] = 0;
        entradas[6][11] = 1;
        entradas[7][11] = 1;
        entradas[8][11] = 0;
        entradas[9][11] = 0;
        entradas[10][11] = 0;
        entradas[11][11] = 0;
        entradas[12][11] = 1;
        entradas[13][11] = 1;
        entradas[14][11] = 0;
        entradas[15][11] = 0;
        entradas[16][11] = 0;
        entradas[17][11] = 0;
        entradas[18][11] = 1;
        entradas[19][11] = 1;
        entradas[20][11] = 0;
        entradas[21][11] = 0;
        entradas[22][11] = 0;
        entradas[23][11] = 1;
        entradas[24][11] = 1;
        entradas[25][11] = 1;
        entradas[26][11] = 0;
        entradas[27][11] = 0;
        entradas[28][11] = 1;
        entradas[29][11] = 0;
        entradas[30][11] = 1;
        entradas[31][11] = 1;
        entradas[32][11] = 1;
        entradas[33][11] = 1;
        entradas[34][11] = 0;
        entradas[35][11] = 0;
        
        //LETRA M
        entradas[0][12] = 0;
        entradas[1][12] = 1;
        entradas[2][12] = 0;
        entradas[3][12] = 0;
        entradas[4][12] = 1;
        entradas[5][12] = 0;
        entradas[6][12] = 1;
        entradas[7][12] = 1;
        entradas[8][12] = 1;
        entradas[9][12] = 1;
        entradas[10][12] = 1;
        entradas[11][12] = 1;
        entradas[12][12] = 1;
        entradas[13][12] = 0;
        entradas[14][12] = 1;
        entradas[15][12] = 1;
        entradas[16][12] = 0;
        entradas[17][12] = 0;
        entradas[18][12] = 1;
        entradas[19][12] = 0;
        entradas[20][12] = 0;
        entradas[21][12] = 0;
        entradas[22][12] = 0;
        entradas[23][12] = 1;
        entradas[24][12] = 1;
        entradas[25][12] = 0;
        entradas[26][12] = 0;
        entradas[27][12] = 0;
        entradas[28][12] = 0;
        entradas[29][12] = 1;
        entradas[30][12] = 1;
        entradas[31][12] = 0;
        entradas[32][12] = 0;
        entradas[33][12] = 0;
        entradas[34][12] = 0;
        entradas[35][12] = 1;
       
        //LETRA N
        entradas[0][13] = 1;
        entradas[1][13] = 1;
        entradas[2][13] = 0;
        entradas[3][13] = 0;
        entradas[4][13] = 0;
        entradas[5][13] = 1;
        entradas[6][13] = 1;
        entradas[7][13] = 1;
        entradas[8][13] = 1;
        entradas[9][13] = 0;
        entradas[10][13] = 0;
        entradas[11][13] = 1;
        entradas[12][13] = 1;
        entradas[13][13] = 0;
        entradas[14][13] = 1;
        entradas[15][13] = 0;
        entradas[16][13] = 0;
        entradas[17][13] = 1;
        entradas[18][13] = 1;
        entradas[19][13] = 0;
        entradas[20][13] = 0;
        entradas[21][13] = 1;
        entradas[22][13] = 0;
        entradas[23][13] = 1;
        entradas[24][13] = 1;
        entradas[25][13] = 0;
        entradas[26][13] = 0;
        entradas[27][13] = 1;
        entradas[28][13] = 1;
        entradas[29][13] = 1;
        entradas[30][13] = 1;
        entradas[31][13] = 0;
        entradas[32][13] = 0;
        entradas[33][13] = 0;
        entradas[34][13] = 1;
        entradas[35][13] = 1;
        
        //LETRA O
        entradas[0][14] = 0;
        entradas[1][14] = 1;
        entradas[2][14] = 1;
        entradas[3][14] = 1;
        entradas[4][14] = 1;
        entradas[5][14] = 0;
        entradas[6][14] = 1;
        entradas[7][14] = 0;
        entradas[8][14] = 0;
        entradas[9][14] = 0;
        entradas[10][14] = 0;
        entradas[11][14] = 1;
        entradas[12][14] = 1;
        entradas[13][14] = 0;
        entradas[14][14] = 0;
        entradas[15][14] = 0;
        entradas[16][14] = 0;
        entradas[17][14] = 1;
        entradas[18][14] = 1;
        entradas[19][14] = 0;
        entradas[20][14] = 0;
        entradas[21][14] = 0;
        entradas[22][14] = 0;
        entradas[23][14] = 1;
        entradas[24][14] = 1;
        entradas[25][14] = 0;
        entradas[26][14] = 0;
        entradas[27][14] = 0;
        entradas[28][14] = 0;
        entradas[29][14] = 1;
        entradas[30][14] = 0;
        entradas[31][14] = 1;
        entradas[32][14] = 1;
        entradas[33][14] = 1;
        entradas[34][14] = 1;
        entradas[35][14] = 0;
        
        //LETRA P
        entradas[0][15] = 0;
        entradas[1][15] = 1;
        entradas[2][15] = 1;
        entradas[3][15] = 1;
        entradas[4][15] = 0;
        entradas[5][15] = 0;
        entradas[6][15] = 1;
        entradas[7][15] = 0;
        entradas[8][15] = 0;
        entradas[9][15] = 0;
        entradas[10][15] = 1;
        entradas[11][15] = 0;
        entradas[12][15] = 1;
        entradas[13][15] = 0;
        entradas[14][15] = 0;
        entradas[15][15] = 0;
        entradas[16][15] = 1;
        entradas[17][15] = 0;
        entradas[18][15] = 1;
        entradas[19][15] = 1;
        entradas[20][15] = 1;
        entradas[21][15] = 1;
        entradas[22][15] = 0;
        entradas[23][15] = 0;
        entradas[24][15] = 1;
        entradas[25][15] = 0;
        entradas[26][15] = 0;
        entradas[27][15] = 0;
        entradas[28][15] = 0;
        entradas[29][15] = 0;
        entradas[30][15] = 1;
        entradas[31][15] = 0;
        entradas[32][15] = 0;
        entradas[33][15] = 0;
        entradas[34][15] = 0;
        entradas[35][15] = 0;
       
        //LETRA Q
        entradas[0][16] = 0;
        entradas[1][16] = 1;
        entradas[2][16] = 1;
        entradas[3][16] = 1;
        entradas[4][16] = 1;
        entradas[5][16] = 0;
        entradas[6][16] = 1;
        entradas[7][16] = 0;
        entradas[8][16] = 0;
        entradas[9][16] = 0;
        entradas[10][16] = 0;
        entradas[11][16] = 1;
        entradas[12][16] = 1;
        entradas[13][16] = 0;
        entradas[14][16] = 0;
        entradas[15][16] = 0;
        entradas[16][16] = 0;
        entradas[17][16] = 1;
        entradas[18][16] = 1;
        entradas[19][16] = 0;
        entradas[20][16] = 0;
        entradas[21][16] = 1;
        entradas[22][16] = 1;
        entradas[23][16] = 1;
        entradas[24][16] = 1;
        entradas[25][16] = 0;
        entradas[26][16] = 0;
        entradas[27][16] = 1;
        entradas[28][16] = 1;
        entradas[29][16] = 1;
        entradas[30][16] = 0;
        entradas[31][16] = 1;
        entradas[32][16] = 1;
        entradas[33][16] = 1;
        entradas[34][16] = 1;
        entradas[35][16] = 1;
        
        //LETRA R
        entradas[0][17] = 0;
        entradas[1][17] = 1;
        entradas[2][17] = 1;
        entradas[3][17] = 1;
        entradas[4][17] = 0;
        entradas[5][17] = 0;
        entradas[6][17] = 1;
        entradas[7][17] = 0;
        entradas[8][17] = 0;
        entradas[9][17] = 0;
        entradas[10][17] = 1;
        entradas[11][17] = 0;
        entradas[12][17] = 1;
        entradas[13][17] = 0;
        entradas[14][17] = 0;
        entradas[15][17] = 0;
        entradas[16][17] = 1;
        entradas[17][17] = 0;
        entradas[18][17] = 1;
        entradas[19][17] = 1;
        entradas[20][17] = 1;
        entradas[21][17] = 1;
        entradas[22][17] = 0;
        entradas[23][17] = 0;
        entradas[24][17] = 1;
        entradas[25][17] = 0;
        entradas[26][17] = 0;
        entradas[27][17] = 1;
        entradas[28][17] = 1;
        entradas[29][17] = 0;
        entradas[30][17] = 1;
        entradas[31][17] = 0;
        entradas[32][17] = 0;
        entradas[33][17] = 0;
        entradas[34][17] = 1;
        entradas[35][17] = 0;
        
        //LETRA S
	entradas[0][18] = 0;
        entradas[1][18] = 1;
        entradas[2][18] = 1;
        entradas[3][18] = 1;
        entradas[4][18] = 1;
        entradas[5][18] = 1;
        entradas[6][18] = 1;
        entradas[7][18] = 0;
        entradas[8][18] = 0;
        entradas[9][18] = 0;
        entradas[10][18] = 0;
        entradas[11][18] = 0;
        entradas[12][18] = 0;
        entradas[13][18] = 1;
        entradas[14][18] = 1;
        entradas[15][18] = 0;
        entradas[16][18] = 0;
        entradas[17][18] = 0;
        entradas[18][18] = 0;
        entradas[19][18] = 0;
        entradas[20][18] = 0;
        entradas[21][18] = 1;
        entradas[22][18] = 1;
        entradas[23][18] = 0;
        entradas[24][18] = 0;
        entradas[25][18] = 0;
        entradas[26][18] = 0;
        entradas[27][18] = 0;
        entradas[28][18] = 0;
        entradas[29][18] = 1;
        entradas[30][18] = 1;
        entradas[31][18] = 1;
        entradas[32][18] = 1;
        entradas[33][18] = 1;
        entradas[34][18] = 1;
        entradas[35][18] = 0;
        
        //LETRA T	
		entradas[0][19] = 1;
        entradas[1][19] = 1;
        entradas[2][19] = 1;
        entradas[3][19] = 1;
        entradas[4][19] = 1;
        entradas[5][19] = 1;
        entradas[6][19] = 0;
        entradas[7][19] = 0;
        entradas[8][19] = 1;
        entradas[9][19] = 1;
        entradas[10][19] = 0;
        entradas[11][19] = 0;
        entradas[12][19] = 0;
        entradas[13][19] = 0;
        entradas[14][19] = 1;
        entradas[15][19] = 1;
        entradas[16][19] = 0;
        entradas[17][19] = 0;
        entradas[18][19] = 0;
        entradas[19][19] = 0;
        entradas[20][19] = 1;
        entradas[21][19] = 1;
        entradas[22][19] = 0;
        entradas[23][19] = 0;
        entradas[24][19] = 0;
        entradas[25][19] = 0;
        entradas[26][19] = 1;
        entradas[27][19] = 1;
        entradas[28][19] = 0;
        entradas[29][19] = 0;
        entradas[30][19] = 0;
        entradas[31][19] = 0;
        entradas[32][19] = 1;
        entradas[33][19] = 1;
        entradas[34][19] = 0;
        entradas[35][19] = 0;
		
		//LETRA U
		
		entradas[0][20] = 1;
        entradas[1][20] = 0;
        entradas[2][20] = 0;
        entradas[3][20] = 0;
        entradas[4][20] = 0;
        entradas[5][20] = 1;
        entradas[6][20] = 1;
        entradas[7][20] = 0;
        entradas[8][20] = 0;
        entradas[9][20] = 0;
        entradas[10][20] = 0;
        entradas[11][20] = 1;
        entradas[12][20] = 1;
        entradas[13][20] = 0;
        entradas[14][20] = 0;
        entradas[15][20] = 0;
        entradas[16][20] = 0;
        entradas[17][20] = 1;
        entradas[18][20] = 1;
        entradas[19][20] = 0;
        entradas[20][20] = 0;
        entradas[21][20] = 0;
        entradas[22][20] = 0;
        entradas[23][20] = 1;
        entradas[24][20] = 1;
        entradas[25][20] = 0;
        entradas[26][20] = 0;
        entradas[27][20] = 0;
        entradas[28][20] = 0;
        entradas[29][20] = 1;
        entradas[30][20] = 0;
        entradas[31][20] = 1;
        entradas[32][20] = 1;
        entradas[33][20] = 1;
        entradas[34][20] = 1;
        entradas[35][20] = 0;
		
		//LETRA V
		entradas[0][21] = 1;
        entradas[1][21] = 0;
        entradas[2][21] = 0;
        entradas[3][21] = 0;
        entradas[4][21] = 0;
        entradas[5][21] = 1;
        entradas[6][21] = 1;
        entradas[7][21] = 0;
        entradas[8][21] = 0;
        entradas[9][21] = 0;
        entradas[10][21] = 0;
        entradas[11][21] = 1;
        entradas[12][21] = 1;
        entradas[13][21] = 0;
        entradas[14][21] = 0;
        entradas[15][21] = 0;
        entradas[16][21] = 0;
        entradas[17][21] = 1;
        entradas[18][21] = 0;
        entradas[19][21] = 1;
        entradas[20][21] = 0;
        entradas[21][21] = 0;
        entradas[22][21] = 1;
        entradas[23][21] = 0;
        entradas[24][21] = 0;
        entradas[25][21] = 1;
        entradas[26][21] = 0;
        entradas[27][21] = 0;
        entradas[28][21] = 1;
        entradas[29][21] = 0;
        entradas[30][21] = 0;
        entradas[31][21] = 0;
        entradas[32][21] = 1;
        entradas[33][21] = 1;
        entradas[34][21] = 0;
        entradas[35][21] = 0;
		
		
		//LETRA W
		entradas[0][22] = 1;
        entradas[1][22] = 0;
        entradas[2][22] = 0;
        entradas[3][22] = 0;
        entradas[4][22] = 0;
        entradas[5][22] = 1;
        entradas[6][22] = 1;
        entradas[7][22] = 0;
        entradas[8][22] = 0;
        entradas[9][22] = 0;
        entradas[10][22] = 0;
        entradas[11][22] = 1;
        entradas[12][22] = 1;
        entradas[13][22] = 0;
        entradas[14][22] = 1;
        entradas[15][22] = 1;
        entradas[16][22] = 0;
        entradas[17][22] = 1;
        entradas[18][22] = 1;
        entradas[19][22] = 0;
        entradas[20][22] = 1;
        entradas[21][22] = 1;
        entradas[22][22] = 0;
        entradas[23][22] = 1;
        entradas[24][22] = 1;
        entradas[25][22] = 0;
        entradas[26][22] = 1;
        entradas[27][22] = 1;
        entradas[28][22] = 0;
        entradas[29][22] = 1;
        entradas[30][22] = 0;
        entradas[31][22] = 1;
        entradas[32][22] = 1;
        entradas[33][22] = 1;
        entradas[34][22] = 1;
        entradas[35][22] = 0;
		
		//LETRA X	
		entradas[0][23] = 1;
        entradas[1][23] = 0;
        entradas[2][23] = 0;
        entradas[3][23] = 0;
        entradas[4][23] = 0;
        entradas[5][23] = 1;
        entradas[6][23] = 0;
        entradas[7][23] = 1;
        entradas[8][23] = 0;
        entradas[9][23] = 0;
        entradas[10][23] = 1;
        entradas[11][23] = 0;
        entradas[12][23] = 0;
        entradas[13][23] = 0;
        entradas[14][23] = 1;
        entradas[15][23] = 1;
        entradas[16][23] = 0;
        entradas[17][23] = 0;
        entradas[18][23] = 0;
        entradas[19][23] = 0;
        entradas[20][23] = 1;
        entradas[21][23] = 1;
        entradas[22][23] = 0;
        entradas[23][23] = 0;
        entradas[24][23] = 0;
        entradas[25][23] = 1;
        entradas[26][23] = 0;
        entradas[27][23] = 0;
        entradas[28][23] = 1;
        entradas[29][23] = 0;
        entradas[30][23] = 1;
        entradas[31][23] = 0;
        entradas[32][23] = 0;
        entradas[33][23] = 0;
        entradas[34][23] = 0;
        entradas[35][23] = 1;
		
		//LETRA Y
		entradas[0][24] = 1;
        entradas[1][24] = 0;
        entradas[2][24] = 0;
        entradas[3][24] = 0;
        entradas[4][24] = 0;
        entradas[5][24] = 1;
        entradas[6][24] = 0;
        entradas[7][24] = 1;
        entradas[8][24] = 0;
        entradas[9][24] = 0;
        entradas[10][24] = 1;
        entradas[11][24] = 0;
        entradas[12][24] = 0;
        entradas[13][24] = 0;
        entradas[14][24] = 1;
        entradas[15][24] = 1;
        entradas[16][24] = 0;
        entradas[17][24] = 0;
        entradas[18][24] = 0;
        entradas[19][24] = 0;
        entradas[20][24] = 0;
        entradas[21][24] = 1;
        entradas[22][24] = 0;
        entradas[23][24] = 0;
        entradas[24][24] = 0;
        entradas[25][24] = 0;
        entradas[26][24] = 0;
        entradas[27][24] = 1;
        entradas[28][24] = 0;
        entradas[29][24] = 0;
        entradas[30][24] = 0;
        entradas[31][24] = 0;
        entradas[32][24] = 0;
        entradas[33][24] = 1;
        entradas[34][24] = 0;
        entradas[35][24] = 0;
		
		//LETRA Z
        entradas[0][25] = 1;
        entradas[1][25] = 1;
        entradas[2][25] = 1;
        entradas[3][25] = 1;
        entradas[4][25] = 1;
        entradas[5][25] = 1;
        entradas[6][25] = 0;
        entradas[7][25] = 0;
        entradas[8][25] = 0;
        entradas[9][25] = 0;
        entradas[10][25] = 0;
        entradas[11][25] = 1;
        entradas[12][25] = 0;
        entradas[13][25] = 0;
        entradas[14][25] = 0;
        entradas[15][25] = 1;
        entradas[16][25] = 1;
        entradas[17][25] = 0;
        entradas[18][25] = 0;
        entradas[19][25] = 1;
        entradas[20][25] = 1;
        entradas[21][25] = 0;
        entradas[22][25] = 0;
        entradas[23][25] = 0;
        entradas[24][25] = 1;
        entradas[25][25] = 0;
        entradas[26][25] = 0;
        entradas[27][25] = 0;
        entradas[28][25] = 0;
        entradas[29][25] = 0;
        entradas[30][25] = 1;
        entradas[31][25] = 1;
        entradas[32][25] = 1;
        entradas[33][25] = 1;
        entradas[34][25] = 1;
        entradas[35][25] = 1;
		
        
        
        
        
        
        
        //TARGET A
        target[0][0] = 1;
        target[1][0] = 0;
        target[2][0] = 0;
        target[3][0] = 0;
        target[4][0] = 0;
        target[5][0] = 0;
        target[6][0] = 0;
        target[7][0] = 0;
        target[8][0] = 0;
        target[9][0] = 0;
        target[10][0] = 0;
        target[11][0] = 0;
        target[12][0] = 0;
        target[13][0] = 0;
        target[14][0] = 0;
        target[15][0] = 0;
        target[16][0] = 0;
        target[17][0] = 0;
        target[18][0] = 0;
        target[19][0] = 0;
        target[20][0] = 0;
        target[21][0] = 0;
        target[22][0] = 0;
        target[23][0] = 0;
        target[24][0] = 0;
        target[25][0] = 0;
        
        
        //TARGET B
        target[0][1] = 0;
        target[1][1] = 1;
        target[2][1] = 0;
        target[3][1] = 0;
        target[4][1] = 0;
        target[5][1] = 0;
        target[6][1] = 0;
        target[7][1] = 0;
        target[8][1] = 0;
        target[9][1] = 0;
        target[10][1] = 0;
        target[11][1] = 0;
        target[12][1] = 0;
        target[13][1] = 0;
        target[14][1] = 0;
        target[15][1] = 0;
        target[16][1] = 0;
        target[17][1] = 0;
        target[18][1] = 0;
        target[19][1] = 0;
        target[20][1] = 0;
        target[21][1] = 0;
        target[22][1] = 0;
        target[23][1] = 0;
        target[24][1] = 0;
        target[25][1] = 0;
  
        //TARGET C
        target[0][2] = 0;
        target[1][2] = 0;
        target[2][2] = 1;
        target[3][2] = 0;
        target[4][2] = 0;
        target[5][2] = 0;
        target[6][2] = 0;
        target[7][2] = 0;
        target[8][2] = 0;
        target[9][2] = 0;
        target[10][2] = 0;
        target[11][2] = 0;
        target[12][2] = 0;
        target[13][2] = 0;
        target[14][2] = 0;
        target[15][2] = 0;
        target[16][2] = 0;
        target[17][2] = 0;
        target[18][2] = 0;
        target[19][2] = 0;
        target[20][2] = 0;
        target[21][2] = 0;
        target[22][2] = 0;
        target[23][2] = 0;
        target[24][2] = 0;
        target[25][2] = 0;
        
        //TARGET D
        target[0][3] = 0;
        target[1][3] = 0;
        target[2][3] = 0;
        target[3][3] = 1;
        target[4][3] = 0;
        target[5][3] = 0;
        target[6][3] = 0;
        target[7][3] = 0;
        target[8][3] = 0;
        target[9][3] = 0;
        target[10][3] = 0;
        target[11][3] = 0;
        target[12][3] = 0;
        target[13][3] = 0;
        target[14][3] = 0;
        target[15][3] = 0;
        target[16][3] = 0;
        target[17][3] = 0;
        target[18][3] = 0;
        target[19][3] = 0;
        target[20][3] = 0;
        target[21][3] = 0;
        target[22][3] = 0;
        target[23][3] = 0;
        target[24][3] = 0;
        target[25][3] = 0;
        
        //TARGET E
        target[0][4] = 0;
        target[1][4] = 0;
        target[2][4] = 0;
        target[3][4] = 0;
        target[4][4] = 1;
        target[5][4] = 0;
        target[6][4] = 0;
        target[7][4] = 0;
        target[8][4] = 0;
        target[9][4] = 0;
        target[10][4] = 0;
        target[11][4] = 0;
        target[12][4] = 0;
        target[13][4] = 0;
        target[14][4] = 0;
        target[15][4] = 0;
        target[16][4] = 0;
        target[17][4] = 0;
        target[18][4] = 0;
        target[19][4] = 0;
        target[20][4] = 0;
        target[21][4] = 0;
        target[22][4] = 0;
        target[23][4] = 0;
        target[24][4] = 0;
        target[25][4] = 0;
        
        //TARGET F
        target[0][5] = 0;
        target[1][5] = 0;
        target[2][5] = 0;
        target[3][5] = 0;
        target[4][5] = 0;
        target[5][5] = 1;
        target[6][5] = 0;
        target[7][5] = 0;
        target[8][5] = 0;
        target[9][5] = 0;
        target[10][5] = 0;
        target[11][5] = 0;
        target[12][5] = 0;
        target[13][5] = 0;
        target[14][5] = 0;
        target[15][5] = 0;
        target[16][5] = 0;
        target[17][5] = 0;
        target[18][5] = 0;
        target[19][5] = 0;
        target[20][5] = 0;
        target[21][5] = 0;
        target[22][5] = 0;
        target[23][5] = 0;
        target[24][5] = 0;
        target[25][5] = 0;
        
        //TARGET G
        target[0][6] = 0;
        target[1][6] = 0;
        target[2][6] = 0;
        target[3][6] = 0;
        target[4][6] = 0;
        target[5][6] = 0;
        target[6][6] = 1;
        target[7][6] = 0;
        target[8][6] = 0;
        target[9][6] = 0;
        target[10][6] = 0;
        target[11][6] = 0;
        target[12][6] = 0;
        target[13][6] = 0;
        target[14][6] = 0;
        target[15][6] = 0;
        target[16][6] = 0;
        target[17][6] = 0;
        target[18][6] = 0;
        target[19][6] = 0;
        target[20][6] = 0;
        target[21][6] = 0;
        target[22][6] = 0;
        target[23][6] = 0;
        target[24][6] = 0;
        target[25][6] = 0;
        
         //TARGET H
        target[0][7] = 0;
        target[1][7] = 0;
        target[2][7] = 0;
        target[3][7] = 0;
        target[4][7] = 0;
        target[5][7] = 0;
        target[6][7] = 0;
        target[7][7] = 1;
        target[8][7] = 0;
        target[9][7] = 0;
        target[10][7] = 0;
        target[11][7] = 0;
        target[12][7] = 0;
        target[13][7] = 0;
        target[14][7] = 0;
        target[15][7] = 0;
        target[16][7] = 0;
        target[17][7] = 0;
        target[18][7] = 0;
        target[19][7] = 0;
        target[20][7] = 0;
        target[21][7] = 0;
        target[22][7] = 0;
        target[23][7] = 0;
        target[24][7] = 0;
        target[25][7] = 0;
       
        //TARGET I
        target[0][8] = 0;
        target[1][8] = 0;
        target[2][8] = 0;
        target[3][8] = 0;
        target[4][8] = 0;
        target[5][8] = 0;
        target[6][8] = 0;
        target[7][8] = 0;
        target[8][8] = 1;
        target[9][8] = 0;
        target[10][8] = 0;
        target[11][8] = 0;
        target[12][8] = 0;
        target[13][8] = 0;
        target[14][8] = 0;
        target[15][8] = 0;
        target[16][8] = 0;
        target[17][8] = 0;
        target[18][8] = 0;
        target[19][8] = 0;
        target[20][8] = 0;
        target[21][8] = 0;
        target[22][8] = 0;
        target[23][8] = 0;
        target[24][8] = 0;
        target[25][8] = 0;
        
        //TARGET J
        target[0][9] = 0;
        target[1][9] = 0;
        target[2][9] = 0;
        target[3][9] = 0;
        target[4][9] = 0;
        target[5][9] = 0;
        target[6][9] = 0;
        target[7][9] = 0;
        target[8][9] = 0;
        target[9][9] = 1;
        target[10][9] = 0;
        target[11][9] = 0;
        target[12][9] = 0;
        target[13][9] = 0;
        target[14][9] = 0;
        target[15][9] = 0;
        target[16][9] = 0;
        target[17][9] = 0;
        target[18][9] = 0;
        target[19][9] = 0;
        target[20][9] = 0;
        target[21][9] = 0;
        target[22][9] = 0;
        target[23][9] = 0;
        target[24][9] = 0;
        target[25][9] = 0;
        
        //TARGET K
        target[0][10] = 0;
        target[1][10] = 0;
        target[2][10] = 0;
        target[3][10] = 0;
        target[4][10] = 0;
        target[5][10] = 0;
        target[6][10] = 0;
        target[7][10] = 0;
        target[8][10] = 0;
        target[9][10] = 0;
        target[10][10] = 1;
        target[11][10] = 0;
        target[12][10] = 0;
        target[13][10] = 0;
        target[14][10] = 0;
        target[15][10] = 0;
        target[16][10] = 0;
        target[17][10] = 0;
        target[18][10] = 0;
        target[19][10] = 0;
        target[20][10] = 0;
        target[21][10] = 0;
        target[22][10] = 0;
        target[23][10] = 0;
        target[24][10] = 0;
        target[25][10] = 0;
       
        //TARGET L
        target[0][11] = 0;
        target[1][11] = 0;
        target[2][11] = 0;
        target[3][11] = 0;
        target[4][11] = 0;
        target[5][11] = 0;
        target[6][11] = 0;
        target[7][11] = 0;
        target[8][11] = 0;
        target[9][11] = 0;
        target[10][11] = 0;
        target[11][11] = 1;
        target[12][11] = 0;
        target[13][11] = 0;
        target[14][11] = 0;
        target[15][11] = 0;
        target[16][11] = 0;
        target[17][11] = 0;
        target[18][11] = 0;
        target[19][11] = 0;
        target[20][11] = 0;
        target[21][11] = 0;
        target[22][11] = 0;
        target[23][11] = 0;
        target[24][11] = 0;
        target[25][11] = 0;
        
        //TARGET M
        target[0][12] = 0;
        target[1][12] = 0;
        target[2][12] = 0;
        target[3][12] = 0;
        target[4][12] = 0;
        target[5][12] = 0;
        target[6][12] = 0;
        target[7][12] = 0;
        target[8][12] = 0;
        target[9][12] = 0;
        target[10][12] = 0;
        target[11][12] = 0;
        target[12][12] = 1;
        target[13][12] = 0;
        target[14][12] = 0;
        target[15][12] = 0;
        target[16][12] = 0;
        target[17][12] = 0;
        target[18][12] = 0;
        target[19][12] = 0;
        target[20][12] = 0;
        target[21][12] = 0;
        target[22][12] = 0;
        target[23][12] = 0;
        target[24][12] = 0;
        target[25][12] = 0;
       
        //TARGET N
        target[0][13] = 0;
        target[1][13] = 0;
        target[2][13] = 0;
        target[3][13] = 0;
        target[4][13] = 0;
        target[5][13] = 0;
        target[6][13] = 0;
        target[7][13] = 0;
        target[8][13] = 0;
        target[9][13] = 0;
        target[10][13] = 0;
        target[11][13] = 0;
        target[12][13] = 0;
        target[13][13] = 1;
        target[14][13] = 0;
        target[15][13] = 0;
        target[16][13] = 0;
        target[17][13] = 0;
        target[18][13] = 0;
        target[19][13] = 0;
        target[20][13] = 0;
        target[21][13] = 0;
        target[22][13] = 0;
        target[23][13] = 0;
        target[24][13] = 0;
        target[25][13] = 0;
        
        //TARGET O
        target[0][14] = 0;
        target[1][14] = 0;
        target[2][14] = 0;
        target[3][14] = 0;
        target[4][14] = 0;
        target[5][14] = 0;
        target[6][14] = 0;
        target[7][14] = 0;
        target[8][14] = 0;
        target[9][14] = 0;
        target[10][14] = 0;
        target[11][14] = 0;
        target[12][14] = 0;
        target[13][14] = 0;
        target[14][14] = 1;
        target[15][14] = 0;
        target[16][14] = 0;
        target[17][14] = 0;
        target[18][14] = 0;
        target[19][14] = 0;
        target[20][14] = 0;
        target[21][14] = 0;
        target[22][14] = 0;
        target[23][14] = 0;
        target[24][14] = 0;
        target[25][14] = 0;
       
        //TARGET P
        target[0][15] = 0;
        target[1][15] = 0;
        target[2][15] = 0;
        target[3][15] = 0;
        target[4][15] = 0;
        target[5][15] = 0;
        target[6][15] = 0;
        target[7][15] = 0;
        target[8][15] = 0;
        target[9][15] = 0;
        target[10][15] = 0;
        target[11][15] = 0;
        target[12][15] = 0;
        target[13][15] = 0;
        target[14][15] = 0;
        target[15][15] = 1;
        target[16][15] = 0;
        target[17][15] = 0;
        target[18][15] = 0;
        target[19][15] = 0;
        target[20][15] = 0;
        target[21][15] = 0;
        target[22][15] = 0;
        target[23][15] = 0;
        target[24][15] = 0;
        target[25][15] = 0;
        
        //TARGET Q
        target[0][16] = 0;
        target[1][16] = 0;
        target[2][16] = 0;
        target[3][16] = 0;
        target[4][16] = 0;
        target[5][16] = 0;
        target[6][16] = 0;
        target[7][16] = 0;
        target[8][16] = 0;
        target[9][16] = 0;
        target[10][16] = 0;
        target[11][16] = 0;
        target[12][16] = 0;
        target[13][16] = 0;
        target[14][16] = 0;
        target[15][16] = 0;
        target[16][16] = 1;
        target[17][16] = 0;
        target[18][16] = 0;
        target[19][16] = 0;
        target[20][16] = 0;
        target[21][16] = 0;
        target[22][16] = 0;
        target[23][16] = 0;
        target[24][16] = 0;
        target[25][16] = 0;
        
        //TARGET N
        target[0][17] = 0;
        target[1][17] = 0;
        target[2][17] = 0;
        target[3][17] = 0;
        target[4][17] = 0;
        target[5][17] = 0;
        target[6][17] = 0;
        target[7][17] = 0;
        target[8][17] = 0;
        target[9][17] = 0;
        target[10][17] = 0;
        target[11][17] = 0;
        target[12][17] = 0;
        target[13][17] = 0;
        target[14][17] = 0;
        target[15][17] = 0;
        target[16][17] = 0;
        target[17][17] = 1;
        target[18][17] = 0;
        target[19][17] = 0;
        target[20][17] = 0;
        target[21][17] = 0;
        target[22][17] = 0;
        target[23][17] = 0;
        target[24][17] = 0;
        target[25][17] = 0;
        
        //TARGET S
        target[0][18] = 0;
        target[1][18] = 0;
        target[2][18] = 0;
        target[3][18] = 0;
        target[4][18] = 0;
        target[5][18] = 0;
        target[6][18] = 0;
        target[7][18] = 0;
        target[8][18] = 0;
        target[9][18] = 0;
        target[10][18] = 0;
        target[11][18] = 0;
        target[12][18] = 0;
        target[13][18] = 0;
        target[14][18] = 0;
        target[15][18] = 0;
        target[16][18] = 0;
        target[17][18] = 0;
        target[18][18] = 1;
        target[19][18] = 0;
        target[20][18] = 0;
        target[21][18] = 0;
        target[22][18] = 0;
        target[23][18] = 0;
        target[24][18] = 0;
        target[25][18] = 0;
		
		
		 //TARGET T
        target[0][19] = 0;
        target[1][19] = 0;
        target[2][19] = 0;
        target[3][19] = 0;
        target[4][19] = 0;
        target[5][19] = 0;
        target[6][19] = 0;
        target[7][19] = 0;
        target[8][19] = 0;
        target[9][19] = 0;
        target[10][19] = 0;
        target[11][19] = 0;
        target[12][19] = 0;
        target[13][19] = 0;
        target[14][19] = 0;
        target[15][19] = 0;
        target[16][19] = 0;
        target[17][19] = 0;
        target[18][19] = 0;
        target[19][19] = 1;
        target[20][19] = 0;
        target[21][19] = 0;
        target[22][19] = 0;
        target[23][19] = 0;
        target[24][19] = 0;
        target[25][19] = 0;
		
		
		 //TARGET U
        target[0][20] = 0;
        target[1][20] = 0;
        target[2][20] = 0;
        target[3][20] = 0;
        target[4][20] = 0;
        target[5][20] = 0;
        target[6][20] = 0;
        target[7][20] = 0;
        target[8][20] = 0;
        target[9][20] = 0;
        target[10][20] = 0;
        target[11][20] = 0;
        target[12][20] = 0;
        target[13][20] = 0;
        target[14][20] = 0;
        target[15][20] = 0;
        target[16][20] = 0;
        target[17][20] = 0;
        target[18][20] = 0;
        target[19][20] = 0;
        target[20][20] = 1;
        target[21][20] = 0;
        target[22][20] = 0;
        target[23][20] = 0;
        target[24][20] = 0;
        target[25][20] = 0;
		
		
		 //TARGET V
        target[0][21] = 0;
        target[1][21] = 0;
        target[2][21] = 0;
        target[3][21] = 0;
        target[4][21] = 0;
        target[5][21] = 0;
        target[6][21] = 0;
        target[7][21] = 0;
        target[8][21] = 0;
        target[9][21] = 0;
        target[10][21] = 0;
        target[11][21] = 0;
        target[12][21] = 0;
        target[13][21] = 0;
        target[14][21] = 0;
        target[15][21] = 0;
        target[16][21] = 0;
        target[17][21] = 0;
        target[18][21] = 0;
        target[19][21] = 0;
        target[20][21] = 0;
        target[21][21] = 1;
        target[22][21] = 0;
        target[23][21] = 0;
        target[24][21] = 0;
        target[25][21] = 0;
		
		
		 //TARGET W
        target[0][22] = 0;
        target[1][22] = 0;
        target[2][22] = 0;
        target[3][22] = 0;
        target[4][22] = 0;
        target[5][22] = 0;
        target[6][22] = 0;
        target[7][22] = 0;
        target[8][22] = 0;
        target[9][22] = 0;
        target[10][22] = 0;
        target[11][22] = 0;
        target[12][22] = 0;
        target[13][22] = 0;
        target[14][22] = 0;
        target[15][22] = 0;
        target[16][22] = 0;
        target[17][22] = 0;
        target[18][22] = 0;
        target[19][22] = 0;
        target[20][22] = 0;
        target[21][22] = 0;
        target[22][22] = 1;
        target[23][22] = 0;
        target[24][22] = 0;
        target[25][22] = 0;
		
		
		 //TARGET X
        target[0][23] = 0;
        target[1][23] = 0;
        target[2][23] = 0;
        target[3][23] = 0;
        target[4][23] = 0;
        target[5][23] = 0;
        target[6][23] = 0;
        target[7][23] = 0;
        target[8][23] = 0;
        target[9][23] = 0;
        target[10][23] = 0;
        target[11][23] = 0;
        target[12][23] = 0;
        target[13][23] = 0;
        target[14][23] = 0;
        target[15][23] = 0;
        target[16][23] = 0;
        target[17][23] = 0;
        target[18][23] = 0;
        target[19][23] = 0;
        target[20][23] = 0;
        target[21][23] = 0;
        target[22][23] = 0;
        target[23][23] = 1;
        target[24][23] = 0;
        target[25][23] = 0;
		
		
		 //TARGET Y
        target[0][24] = 0;
        target[1][24] = 0;
        target[2][24] = 0;
        target[3][24] = 0;
        target[4][24] = 0;
        target[5][24] = 0;
        target[6][24] = 0;
        target[7][24] = 0;
        target[8][24] = 0;
        target[9][24] = 0;
        target[10][24] = 0;
        target[11][24] = 0;
        target[12][24] = 0;
        target[13][24] = 0;
        target[14][24] = 0;
        target[15][24] = 0;
        target[16][24] = 0;
        target[17][24] = 0;
        target[18][24] = 0;
        target[19][24] = 0;
        target[20][24] = 0;
        target[21][24] = 0;
        target[22][24] = 0;
        target[23][24] = 0;
        target[24][24] = 1;
        target[25][24] = 0;
		
		
		//TARGET Z
        target[0][25] = 0;
        target[1][25] = 0;
        target[2][25] = 0;
        target[3][25] = 0;
        target[4][25] = 0;
        target[5][25] = 0;
        target[6][25] = 0;
        target[7][25] = 0;
        target[8][25] = 0;
        target[9][25] = 0;
        target[10][25] = 0;
        target[11][25] = 0;
        target[12][25] = 0;
        target[13][25] = 0;
        target[14][25] = 0;
        target[15][25] = 0;
        target[16][25] = 0;
        target[17][25] = 0;
        target[18][25] = 0;
        target[19][25] = 0;
        target[20][25] = 0;
        target[21][25] = 0;
        target[22][25] = 0;
        target[23][25] = 0;
        target[24][25] = 0;
        target[25][25] = 1;
        
    }
    
    
    public static void clean(){
        for(int i=0;i<ROW_COUNT*ROW_COUNT;i++){
            prueba[i][0] = 0;
        }
    }
        
    public static void valoresFijos()
    {
        LogTexto.append(LogDate()).append(" ").append(CLASSNAME).append(" - Carga Valores Fijos\n");
        GUI.txtLogger.append(Const.LogTexto.toString());
        Const.LogTexto.setLength(0);
        
        Propiedades p_fijos = new Propiedades("ArchivosConf\\fijos.properties");
        
        if(p_fijos.cargarPropiedades()){
            for(int i=0;i<Const.TotalAbecedario;i++)
                for(int j=0;j<(Const.ROW_COUNT*Const.ROW_COUNT);j++)
                    pesosFijo[i][j] =p_fijos.leerPropiedad("pesosFijo["+i+"]["+j+"]");

            for(int i=0;i<Const.TotalAbecedario;i++)
                umbralFijo[i][0] = p_fijos.leerPropiedad("umbralFijo["+i+"][0]");
        }
        else{
            JOptionPane.showConfirmDialog(null, "Error al cargar el archivo de propiedades" ,"ERROR",JOptionPane.PLAIN_MESSAGE,0);
        }
        
                
    }
    
    public static int getMaxSet(){
        int max;
        if(p.cargarPropiedades()){
            max=p.leerPropiedad_Int("max");
        }
        else
            max=0;
        return max;
    }
    
    public static void setMaxSet(int max) throws IOException{
        p.cambiarPropiedad("max", String.valueOf(max));
        p.abrirPropiedad();
        p.cerrarPropiedad();
    }
    
    
    
}
